<extend name="Base/common"/>
<block name="style">
    <link  rel="stylesheet"  href="__PUBLIC__/Wap/css/member.css">
</block>

<block name="content">
    <div  id="loadingPicBlock">
        <input  name="hidTotalCount"  type="hidden"  id="hidTotalCount">
        <input  name="hidPageMax"  type="hidden"  id="hidPageMax">
        <div  class="wrapper">
            <div  class="m_buylist_nav"><span>您总共有<em  class="orange">{:count($order_list)}</em>退货单</span></div><div  class="m_buylist m_get marginB">
            <ul  id="divOrderList">
               <notempty name="order_list">
                <volist name="order_list" id="order">
                    <?php
                         $order_info=M('order_list')->where(array('id'=>$order['order_id']))->find();
                         $bid_good=M('bid_good')->where(array('bid_id'=>$order_info['bid_id'],'id'=>$order_info['good_id']))->find();
                         $good_info=M('goods')->where(array('id'=>$bid_good['good_id']))->find();
                         $good_info['good_img_arr']=explode(',',$good_info['good_img']);
                    ?>
                    <li>
                     <cite>
                         <img  src="__ROOT__{$good_info['good_img_arr'][0]}">
                         <i>
                             <switch name="order.status">
                                 <case value="1">正在处理</case>
                                 <case value="2">已处理</case>
                             </switch>
                         </i>
                     </cite>
                     <dl>
                         <dt>
                             退货单号: {$order.return_sn}
                         </dt>
                         <dt>
                             对应订单号: {$order.return_sn}
                         </dt>
                         <dt>已退货数量：{$order['return_suceess']}</dt>
                         <dt>已拒退数量：{$order['return_fail']}</dt>

                         <switch name="order.status">
                             <case value="1"><dt>待退货数量：{$order['return_count']}</dt></case>
                             <case value="2"><dt>已退金额：{$order['return_success_price']}元</dt></case>
                         </switch>
                     </dl>
                 </li>
                </volist>
              <else/>
                  <div class="noRecords gray9"><s></s>暂无记录</div>
               </notempty>
                <div  id="divOrderLoading"  class="loading"  style="display: none;"><b></b>正在加载</div>
            </ul>
        </div>
            <div  class="load_more"  id="btnLoadMore"  style="display: none;"><a  href="javascript:;"  title="加载更多">加载更多</a></div>

        </div>
    </div>
</block>

<block name="footer">
    <div class="footer" style="bottom: 0px;">
        <ul>
            <li class="f_home"><a href="{:U('Index/index')}" title="首页"><i class="icon iconfont">&#xe61c;</i>首页</a></li>
            <li class="f_whole"><a href="{:U('Public/introduction')}" title="竞价介绍"><i class="icon iconfont">&#xe627;</i>竞价介绍</a></li>
            <li class="f_personal"><a href="{:U('Agent/profile')}" class="hover" title="个人中心"><i class="icon iconfont">&#xe61e;</i>个人中心</a></li>
        </ul>
    </div>
</block>
